<template>
  <div class="qwe">
    <div class="container">
      <div class="top">
        <h3>全部</h3>
        <span>全部分类↓</span>
        <a href="/qwe/song">热门</a>
      </div>
      <div class="list">
        <List></List>
      </div>
    </div>
    
  </div>
</template>
<script>
import List from "../components/List.vue";
export default {
  components: { List},
  data() {
    return {
      music: true,
      song: true,
    };
  },
};
</script>
<style scoped>
.container {
  width: 980px;
  padding: 40px;
  margin: 0 auto;
  background-color: #fff;
  border-left: 1px solid #d3d3d3;
  border-right: 1px solid #d3d3d3;
}
.top {
  position: relative;
  width: 100%;
  height: 42px;
  line-height: 40px;
  border-bottom: 2px solid #c20c0c;
  display: flex;
  align-items: center;
}
.top h3 {
  font-weight: 400;
  font-size: 24px;
}
.top span{
  width: 85px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 12px;
  margin-left: 15px;
  color: #0c73c2;
  background-color: #f4f4f4;
  border: 1px solid #cdcdcd;
  border-radius: 5px;
  cursor: pointer;
}
.top span:hover{
  background-color: #fff;
}
.top a {
  display: block;
  position: absolute;
  right: 0;
  top: 6px;
  width: 45px;
  height: 30px;
  border-radius: 3px;
  background-color: #d20c0d;
  color: #fff;
  text-align: center;
  line-height: 30px;
  font-size: 12px;
}
.list{
  width: 100%;
  margin-top: 30px;
}
</style>